<template>
    <el-container class="layout-container-iotshudt">
        <el-aside width="200px">
            <el-scrollbar>
              <Nav></Nav>
            </el-scrollbar>
        </el-aside>
        <el-container>
            <el-header style="text-align: right; font-size: 12px">
                <div class="toolbar">
                    <span>管理员</span>
                </div>
            </el-header>
            <el-main>
                <router-view></router-view>
            </el-main>
        </el-container>
    </el-container>
</template>

<script>
import Nav from './Nav.vue'
export default{
  mounted(){
    
  },
  data(){
    return {
      navMenu:[],
    }
  },
  components: {
    Nav: Nav
  }
}
</script>
<style scoped>
.layout-container-iotshudt .el-header {
  position:relative;
  background-color: var(--el-color-primary-light-7);
  color: var(--el-text-color-primary);
}
.layout-container-iotshudt .el-aside {
  background-color: var(--el-color-primary-light-8);
  color: var(--el-text-color-primary);
}
.layout-container-iotshudt .el-menu {
  border-right: none;
}

.layout-container-iotshudt .el-main {
  padding: 0;
}
.layout-container-iotshudt .toolbar {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:100%;
  right:20px;
}
</style>